package ooday04;

public class Chick extends Animal {
    public Chick(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    void eat() {
        System.out.println(name+"吃虫子");
    }

    void layEggs() {
        System.out.println(name + "正在下蛋");
    }
}
